package org.ichihamigua.common.qiniucloud;

import org.ichihamigua.common.qiniucloud.config.QiniuConfig;
import org.ichihamigua.common.qiniucloud.service.impl.QiniuObjectStoreServiceImpl;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 开启七牛云服务
 * @author rainkyzhong
 * @date 2023/10/29 13:05
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({QiniuObjectStoreServiceImpl.class, QiniuConfig.class})
@Component
public @interface EnableQiniuCloudService {
}
